package com.tiantai.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tiantai.common.annotation.Excel;
import com.tiantai.common.core.domain.BaseEntity;

/**
 * 环境健康评估主对象 tea_env_assessment
 * 
 * @author ruoyi
 * @date 2025-03-21
 */
public class TeaEnvAssessment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 评估日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评估日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date assessDate;

    /** 茶园生态综合评分 */
    @Excel(name = "茶园生态综合评分")
    private Long totalScore;

    /** 等级名称(优秀/良好/中等/较差) */
    @Excel(name = "等级名称(优秀/良好/中等/较差)")
    private String levelName;

    /** 较昨日分数变化(正数表示上升,负数表示下降) */
    @Excel(name = "较昨日分数变化(正数表示上升,负数表示下降)")
    private Long compareScore;

    /** 气候适宜性得分(0-100) */
    @Excel(name = "气候适宜性得分(0-100)")
    private Long climateScore;

    /** 土壤健康得分(0-100) */
    @Excel(name = "土壤健康得分(0-100)")
    private Long soilScore;

    /** 水质状况得分(0-100) */
    @Excel(name = "水质状况得分(0-100)")
    private Long waterScore;

    /** 空气质量得分(0-100) */
    @Excel(name = "空气质量得分(0-100)")
    private Long airScore;

    /** 微生物活性得分(0-100) */
    @Excel(name = "微生物活性得分(0-100)")
    private Long microbialScore;

    /** 环境优化建议 */
    @Excel(name = "环境优化建议")
    private String eos;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAssessDate(Date assessDate) 
    {
        this.assessDate = assessDate;
    }

    public Date getAssessDate() 
    {
        return assessDate;
    }
    public void setTotalScore(Long totalScore) 
    {
        this.totalScore = totalScore;
    }

    public Long getTotalScore() 
    {
        return totalScore;
    }
    public void setLevelName(String levelName) 
    {
        this.levelName = levelName;
    }

    public String getLevelName() 
    {
        return levelName;
    }
    public void setCompareScore(Long compareScore) 
    {
        this.compareScore = compareScore;
    }

    public Long getCompareScore() 
    {
        return compareScore;
    }
    public void setClimateScore(Long climateScore) 
    {
        this.climateScore = climateScore;
    }

    public Long getClimateScore() 
    {
        return climateScore;
    }
    public void setSoilScore(Long soilScore) 
    {
        this.soilScore = soilScore;
    }

    public Long getSoilScore() 
    {
        return soilScore;
    }
    public void setWaterScore(Long waterScore) 
    {
        this.waterScore = waterScore;
    }

    public Long getWaterScore() 
    {
        return waterScore;
    }
    public void setAirScore(Long airScore) 
    {
        this.airScore = airScore;
    }

    public Long getAirScore() 
    {
        return airScore;
    }
    public void setMicrobialScore(Long microbialScore) 
    {
        this.microbialScore = microbialScore;
    }

    public Long getMicrobialScore() 
    {
        return microbialScore;
    }
    public void setEos(String eos) 
    {
        this.eos = eos;
    }

    public String getEos() 
    {
        return eos;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("assessDate", getAssessDate())
            .append("totalScore", getTotalScore())
            .append("levelName", getLevelName())
            .append("compareScore", getCompareScore())
            .append("climateScore", getClimateScore())
            .append("soilScore", getSoilScore())
            .append("waterScore", getWaterScore())
            .append("airScore", getAirScore())
            .append("microbialScore", getMicrobialScore())
            .append("eos", getEos())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
